<div class="ibox">
	<div class="ibox-content" id="recruitDivUpId">
		<form method="post" class="form-horizontal" action="${cxt!}/admin/workavailability/recruitUpdate" id="recruitFormUpId" >
			<input type="hidden" name="id" value="${workavailabilityUp.id!}">
			<div class="form-group">
                <label class="col-sm-2 control-label">${_res["Workavailability.position"]}:<span class="fontColorRed">&nbsp;*</span></label>
                <div class="col-sm-3">
                    <input type="text" class="form-control" name="workavailability.position" value="${workavailabilityUp.position!}" required aria-required="true">
                </div>	
                
                <label class="col-sm-2 control-label">${_res["Workavailability.positionen"]}:<span class="fontColorRed">&nbsp;*</span></label>
                <div class="col-sm-3">
                    <input type="text" class="form-control" name="workavailability.positionen" value="${workavailabilityUp.positionen!}" required aria-required="true">
                </div>   
                
           </div>
           
           <div class="hr-line-dashed"></div>
           
           <div class="form-group">
           		<label class="col-md-2 control-label">${_res["Workavailability.location"]}:<span class="fontColorRed">&nbsp;*</span></label>
	            <div class="col-md-3">
	              	<input type="text" class="form-control" name="workavailability.location" value="${workavailabilityUp.location!}" required aria-required="true">
	            </div>	  
	            
	            <label class="col-md-2 control-label">${_res["Workavailability.locationen"]}:<span class="fontColorRed">&nbsp;*</span></label>
	            <div class="col-md-3">
	              	<input type="text" class="form-control" name="workavailability.locationen" value="${workavailabilityUp.locationen!}" required aria-required="true">
	            </div>                
           </div>
           
            <div class="hr-line-dashed"></div>
           
           <div class="form-group">
                <!-- <label class="col-sm-2 control-label">${_res["Workavailability.contractperiod"]}:<span class="fontColorRed">&nbsp;*</span></label>
                <div class="col-sm-3">
                    <input type="text" class="form-control" name="workavailability.contractperiod" value="${workavailabilityUp.contractperiod!}" required aria-required="true">
                </div> -->
                
	             <label class="col-md-2 control-label">${_res["Workavailability.status"]}:<span class="fontColorRed">&nbsp;*</span></label>
	             <div id="divId" class="col-md-3">
	             	<#dict type="radio" name="workavailability.status" dictCode="COMMON_STATUS" defaultValue="${workavailabilityUp.status!}" />
	             </div>	                  
           </div>
           
           <div class="hr-line-dashed"></div>

			<div class="form-group">
				<label class="col-md-2 control-label">${_res["Workavailability.jobdescription"]}:<span class="fontColorRed">&nbsp;*</span></label>
				<div class="col-md-8">
					<textarea name="workavailability.jobdescription" style="width:100%; min-height:200px !important">${workavailabilityUp.jobdescription!}</textarea>
				</div>
			</div>
			
			<div class="hr-line-dashed"></div>
			
			<div class="form-group">
				<label class="col-md-2 control-label">${_res["Workavailability.jobdescriptionen"]}:<span class="fontColorRed">&nbsp;*</span></label>
				<div class="col-md-8">
					<textarea name="workavailability.jobdescriptionen" style="width:100%; min-height:200px !important">${workavailabilityUp.jobdescriptionen!}</textarea>
				</div>
			</div>
			
			<div class="hr-line-dashed"></div>
			
			<div class="form-group">
				<label class="col-md-2 control-label">${_res["Workavailability.requirements"]}:<span class="fontColorRed">&nbsp;*</span></label>
				<div class="col-md-8">
					<textarea name="workavailability.requirements" style="width:100%; min-height:200px !important">${workavailabilityUp.requirements!}</textarea>
				</div>
			</div>
			
			<div class="hr-line-dashed"></div>
			
			<div class="form-group">
				<label class="col-md-2 control-label">${_res["Workavailability.requirementsen"]}:<span class="fontColorRed">&nbsp;*</span></label>
				<div class="col-md-8">
					<textarea name="workavailability.requirementsen" style="width:100%; min-height:200px !important">${workavailabilityUp.requirementsen!}</textarea>
				</div>
			</div>
			
			<div class="form-group" style="margin-bottom:55px;">
				<div class="row">
					<div class="col-md-6">
						<label class="col-md-12 control-label"> 
							<% if(hasPrivilegeUrl("toCareer")){ %>
								<button type="button" class="btn btn-warning" onClick="ajaxContent('/admin/workavailability/list');">${_res["system.return"]}</button>
							<% } %> 
							<% if(hasPrivilegeUrl("recruitUpdate")){ %>
								<button type="submit" class="btn btn-primary"> ${_res["system.submit"]} </button> 
							<% } %> 
						</label>
					</div>
				</div>
			</div>
		</form>
		<#submit formId="recruitFormUpId" divId="recruitDivUpId" />
	</div>
</div>

